package cn.mumzone.pos.model;

/**
 * Created by qiuzhenhuan on 2019/6/24.
 */

public class LoginEntity {

    public static final int STORE_TYPE_SHOP = 2;
    public static final int STORE_TYPE_COMPANY = 1;
    public static final int STORE_TYPE_DEPOSIT = 3;

    public static final int PAY_CNL_NATIVE = 0;
    public static final int PAY_CNL_ZJ = 1;
    public static final int PAY_CNL_SUN_MI = 2;

    private String code;
    private String headUrl;
    private long updateTime;
    private int source;
    private String userName;
    private String token;
    private String companyId;
    private String phone;
    private long createTime;
    private String orgCode;
    private String name;
    private String organId;
    private String id;
    private String shopPhone;
    private String shopAddress;
    private String shopName;
    private String shopId;
    private String equiModel;
    private int status;
    private int storeType;//资金归属1:公司2:门店3:按保证金比例
    private int payCnl; // 0 原生 1 中金 2 商米
    private String isIntegral;//是否抵现
    private String isRedeem;//是否换购
    private String popHint;
    private boolean isAllHintDismissed;

    public boolean isAllHintDismissed() {
        return isAllHintDismissed;
    }

    public void setAllHintDismissed(boolean allHintDismissed) {
        isAllHintDismissed = allHintDismissed;
    }

    public String getPopHint() {
        return popHint;
    }

    public void setPopHint(String popHint) {
        this.popHint = popHint;
    }

    public String getIsIntegral() {
        return isIntegral;
    }

    public void setIsIntegral(String isIntegral) {
        this.isIntegral = isIntegral;
    }

    public String getIsRedeem() {
        return isRedeem;
    }

    public void setIsRedeem(String isRedeem) {
        this.isRedeem = isRedeem;
    }

    public int getPayCnl() {
        return payCnl;
    }

    public void setPayCnl(int payCnl) {
        this.payCnl = payCnl;
    }

    private UserPermissionEntity permission;

    public int getStoreType() {
        return storeType;
    }

    public void setStoreType(int storeType) {
        this.storeType = storeType;
    }

    private String levelList; // 登录用户所在门店的会员等级信息

    // 2018/12/10 新增权限相关字段：是否售卖服务、抹零限额、是否有权限修改退货金额
    // 0：商品；1：服务；2：全部经营
    private String businessScope;

    // 抹零限额
    private String mlCeilingPrice;

    // 是否有权限修改退货金额
    private int updateReturnAmountAuth;


    public String getShopPhone() {
        return shopPhone;
    }

    public void setShopPhone(String shopPhone) {
        this.shopPhone = shopPhone;
    }

    public String getShopAddress() {
        return shopAddress;
    }

    public void setShopAddress(String shopAddress) {
        this.shopAddress = shopAddress;
    }

    public String getLevelList() {
        return levelList;
    }

    public void setLevelList(String levelList) {
        this.levelList = levelList;
    }

    public String getEquiModel() {
        return equiModel;
    }

    public void setEquiModel(String equiModel) {
        this.equiModel = equiModel;
    }

    public String getBusinessScope() {
        return businessScope;
    }

    public void setBusinessScope(String businessScope) {
        this.businessScope = businessScope;
    }

    public String getMlCeilingPrice() {
        return mlCeilingPrice;
    }

    public void setMlCeilingPrice(String mlCeilingPrice) {
        this.mlCeilingPrice = mlCeilingPrice;
    }

    public int getUpdateReturnAmountAuth() {
        return updateReturnAmountAuth;
    }

    public void setUpdateReturnAmountAuth(int updateReturnAmountAuth) {
        this.updateReturnAmountAuth = updateReturnAmountAuth;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getHeadUrl() {
        return headUrl;
    }

    public void setHeadUrl(String headUrl) {
        this.headUrl = headUrl;
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }

    public int getSource() {
        return source;
    }

    public void setSource(int source) {
        this.source = source;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOrganId() {
        return organId;
    }

    public void setOrganId(String organId) {
        this.organId = organId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public UserPermissionEntity getPermission() {
        return permission;
    }

    public void setPermission(UserPermissionEntity permission) {
        this.permission = permission;
    }
}
